package com.example.quartz.constant;

/**
 * @author: wlp
 * @description: 描述：定时任务常量
 * @projectName: QuartzConstants
 * @date: 2019/10/11
 * @version: V1.0.0
 */
public class QuartzConstants {

    /**
     * 正常运行
     */
    public final static int QUARTZ_STATUS_NOMAL = 0;

    /**
     * 暂停运行
     */
    public final static int QUARTZ_STATUS_PUSH = 1;

    /**
     * 定时器分组
     */
    public final static String QUARTZ_API_GROUPS = "API_GROUPS";

    /**
     * 自定义定时任务名称前缀
     */
    public final static String QUARTZ_NAME = "TASK_API_GROUPS_";

    /**
     * 触发器key值前缀
     */
    public final static String TRIGGER_NAME = "TRIGGER_API_GROUPS_";

    /**
     * 任务调度参数key
     */
    public static final String QUARTZ_PARAM_KEY = "JOB_PARAM_KEY";
}
